package org.hrc.puzzleGame.view;

import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionListener;
import java.awt.event.KeyListener;

public abstract class BaseFrame extends JFrame implements ActionListener, KeyListener {
    //获得容器
    Container container  = getContentPane();

    protected BaseFrame(){}
    //初始化窗口
    public abstract void initFrame();
    //初始化文本框
    public abstract void initWord();
    //初始化按钮
    public abstract void initButton();
    //初始化弹窗
    public abstract void initDialog(JLabel jLabel);
}
